<%-- 
    Document   : user_detail
    Created on : Nov 20, 2008, 2:30:14 PM
    Author     : Vyor
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<table>
    <tr>
        <td class="menucon">
            <html:link action="/usr_getusers.do" title="Go to main.">Users</html:link>
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0">
    <tr>
        <td>UserName</td>
        <td>:</td>
        <td>${user.username}</td>
    </tr>
    <tr>
        <td>Password</td>
        <td>:</td>
        <td>${user.password}</td>
    </tr>
    <tr>
        <td>Name</td>
        <td>:</td>
        <td>${user.nama}</td>
    </tr>
    <tr>
        <td>Address</td>
        <td>:</td>
        <td>${user.alamat}</td>
    </tr>
    <tr>
        <td>Telp</td>
        <td>:</td>
        <td>${user.telp}</td>
    </tr>
    <tr>
        <td>Email</td>
        <td>:</td>
        <td>${user.email}</td>
    </tr>
    <tr>
        <td>Department</td>
        <td>:</td>
        <td><html:link action="/dept_getdept.do?id=${user.departemen.id}">${user.departemen.nama}</html:link></td>
    </tr>
    <tr>
        <td>Branch Office</td>
        <td>:</td>
        <td><html:link action="/cab_getcabang.do?id=${user.cabang.id}">${user.cabang.kota} (${user.cabang.kode}), ${user.cabang.alamat}</html:link></td>
    </tr>    
</table>
<table>
    <tr>
        <td class="menucon">
            <html:link href="javascript:history.back();">Back</html:link>
        </td>
    </tr>
</table>